feat: add comprehensive linked list data structures#257
Merged
siriak merged 2 commits intoTheAlgorithms:masterfrom Oct 25, 2025
Merged
feat: add comprehensive linked list data structures#257siriak merged 2 commits intoTheAlgorithms:masterfrom
siriak merged 2 commits intoTheAlgorithms:masterfrom
Conversation
- Implement singly linked list with insert, delete, search operations - Add doubly linked list with bidirectional traversal and position access - Create circular linked list with Josephus problem solver - Include cycle detection, list reversal, and merge operations - Add comprehensive documentation and educational examples - Update DIRECTORY.md with linked list algorithms section
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive linked list data structure implementations to TheAlgorithms/R repository, including singly, doubly, and circular linked lists with educational examples and practical applications.
- Implements three core linked list variants with full CRUD operations and advanced algorithms
- Adds educational documentation, real-world examples, and performance analysis
- Updates DIRECTORY.md to include the new linked list algorithms section
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| linked_list_algorithms/singly_linked_list.r | Complete singly linked list implementation with insert, delete, search, reverse, and cycle detection operations |
| linked_list_algorithms/doubly_linked_list.r | Bidirectional linked list with optimized traversal and head/tail access |
| linked_list_algorithms/circular_linked_list.r | Circular linked list with Josephus problem solver and round-robin scheduling examples |
| linked_list_algorithms/README.md | Comprehensive documentation covering all implementations, usage examples, and performance comparisons |
| DIRECTORY.md | Updated to include new linked list algorithms section with proper file references |
siriak
approved these changes
Oct 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@siriak Please see to this
Hacktoberfest 2025